GoXam for WPF v3
IsRelinkValid Method (TreeModel<NodeType,NodeKey>)
Northwoods.GoXam.Model Namespace > TreeModel<NodeType,NodeKey> Class : IsRelinkValid Method
a node key identifying the node data from which the link would come
a node key identify the node data to which the link would go
a node key identifying the node data from which the existing link comes
a node key identify the node data to which the existing link goes
This predicate is true if replacing a link between two nodes would result in a valid graph.
Syntax

Parameters

newfromdata
a node key identifying the node data from which the link would come
newtodata
a node key identify the node data to which the link would go
oldfromdata
a node key identifying the node data from which the existing link comes
oldtodata
a node key identify the node data to which the existing link goes
Remarks
This just calls CheckLinkValid to do the actual graph structure check.
See Also

Reference

TreeModel<NodeType,NodeKey> Class
TreeModel<NodeType,NodeKey> Members